home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
image
/
stview11.zip
/
UNPACK.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-06-21
|
1KB
|
59 lines
@echo off
rem ==--=StarBar archive extractor batch file=--==
rem OS/2 CMD
rem
rem ========================================================================
rem
rem first parameter : Path to node-specific temp dir
rem second parameter : Path and File to be examined
rem
rem ========================================================================
rem
rem NOTE: Special Thanks to Steve Monteith who sent through a sample of his
rem native OS/2 archiver *.CMD file. I could not test this myself,
rem but it seems to work on his system. You may have to "tweek" it a
rem bit more, but should serve as a good starting point.
cd %1
if exist %1\*.arj goto ARJ
if exist %1\*.zip goto ZIP
if exist %1\*.lzh goto LHA
if exist %1\*.rar goto UNRAR
if exist %1\*.arc goto PKUNPAK
if exist %1\*.zoo goto ZOO
if exist %1\*.pak goto PAK
rem Add any other archivers you wish to support here, then follow the
rem examples below on extracting the info...
:ARJ
unarj e %2 *.*
goto end
:ZIP
unzip -o -j -C %2 *.*
goto end
:LHA
lh x /o %2 *.*
goto end
:UNRAR
unrar e %2 *.*
goto end
:PKUNPAK
arc2 eo %2 *.*
goto end
:ZOO
zoo.exe e %2 *.*
goto end
:PAK
pak e/WA %2 *.*
goto end
:end